.flex {
  display: flex;
}

.flex-direction {
  flex-direction: column;
}

.flex-sub {
  flex: 1;
}


// .box-card {
//   overflow: auto
// }

.box-card::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

.box-card::-webkit-scrollbar-thumb {
  background: #d3dce6;
  border-radius: 20px;
}

.container-main::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.container-main::-webkit-scrollbar-thumb {
  background: #d3dce6;
  border-radius: 10px;
}

/*自定义编辑、详情内容组头部样式-----------------------------------------------------------------------------------------------------*/
.title {
  color: #383838;
  font-size: 16px;
  border-bottom: 1px solid #dedede;
  padding: 3px 5px;
  border-radius: 5px;
  margin-top: 3px;
  margin-bottom: 8px;
}

.alert-div {
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
  border-radius: 2px;
  background-color: rgb(230, 247, 255);
  border: 1px solid rgb(145, 213, 255);
  display: inline;
  padding: 6px 30px 6px 15px;
  margin-right: 10px;
  margin-bottom: 5px;
}

.a-text {
  color: #409eff;
  transition: .1s;
}

.a-text:hover {
  color: #66b1ff;
}

/*自定义卡片样式-----------------------------------------------------------------------------------------------------*/
.card {
  border-radius: 6px;
  padding: 5px;
  margin-bottom: 12px;
  margin-top: 8px;
}

/*列表查询条件收缩样式-----------------------------------------------------------------------------------------------------*/
.div-query {
  background: none;
  border-radius: 2px;
  border: 1px solid #e3e3e3;
  padding: 0 0px;
  margin-bottom: 1rem; // height: 300px;
}

.collapse {
  background: none;
  border: 0;
  border-radius: 4px;
  margin-bottom: 6px;
}

.collapse-header {
  position: relative;
  padding: 3px 16px 3px 40px;
  color: rgba(0, 0, 0, 0.85);
  line-height: 22px;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 1px solid #e8e8e8;
  background-color: rgb(250, 250, 250);
}

.collapse-header-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}

.collapse-content {
  color: rgba(0, 0, 0, 0.65);
  padding: 0.5rem 1rem 0.1rem 1rem;
}

/*操作区样式-----------------------------------------------------------------------------------------------------*/
.i-fengefu {
  font-size: 14px;
  font-weight: 550;
  margin: 0 -4px;
  color: #dbd9d9;
}

.i-detail {
  font-size: 15px;
  cursor: pointer;
  // color: #01a2e4;
  color: #409eff;
}

.i-edit {
  font-size: 19px;
  cursor: pointer;
  color: #409eff;
}

.i-delete {
  // color: #ff6363;
  color: #409eff;
  font-size: 17px;
  cursor: pointer;
}


/*表格样式-----------------------------------------------------------------------------------------------------*/
/deep/.el-table th.is-leaf:first-child,
/deep/ .el-table td:first-child {
  border-left: 0px solid #ebeef5;
}

/deep/.el-table th.is-leaf,
/deep/ .el-table td {
  border-top: 0px solid #ebeef5;
}

/deep/.el-table--group,
/deep/.el-table--border {
  border: 1px solid #ebeef5;
}

/deep/.el-table--border {
  border-right: none;
  border-bottom: none;
}

/deep/.el-table th {
  word-break: break-word; // color: rgba(0, 0, 0, .5);
  color: #909399;
  background-color: #f3f3f3;
}

/deep/.el-table td,
/deep/.el-table th.is-leaf {
  border-bottom: 1px solid #ebeef5;
}

/deep/.el-table--border td,
/deep/ .el-table--border th,
/deep/ .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
  border-right: 1px solid #ebeef5; // border-left: 1px solid #ebeef5;
}

/deep/.el-table--medium .el-table__cell {
  padding: 8px 0;
}

/deep/.el-table th {
  padding: 2px 0 !important;
}

/deep/.el-table--mini,
/deep/.el-table--small,
/deep/.el-table__expand-icon {
  font-size: 14px;
}

/deep/.el-table th.is-leaf {
  border-top: 0px solid transparent; // border-bottom-width: 2px
}

/deep/ .el-table th.is-leaf:last-child,
/deep/.el-table td:last-child {
  border-left: 1px solid #ebeef5;
}

/deep/.el-table__empty-block {
  border-left: 0px solid #ebeef5;
  border-top: 0px solid #ebeef5;
  min-height: 40px;
  height: 40px !important;
}

/deep/.el-pagination {
  // margin-top: -16px;
  float: right;
  padding-bottom: 16px;
}


/*form样式-----------------------------------------------------------------------------------------------------*/
/deep/.el-form-item--small.el-form-item {
  margin: 8px 0;
}

/deep/.el-form-item__label {
  text-align: right;
  vertical-align: middle;
  float: left;
  font-size: 14px;
  line-height: 32px;
  padding: 0 4px 0 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #000000d9;
  font-weight: normal;
}

/deep/.el-form-item__label::after {
  content: ":";
  position: relative;
  top: -0.5px;
  margin: 0 8px 0 2px;
}

/deep/.el-form-item--small .el-form-item__error {
  padding-top: 2px;
  margin-bottom: -6px;
  position: relative;
}

/*input-----------------------------------------------------------------------------------------------------*/
/deep/.el-input--small {
  font-size: 0.9rem !important;
}

/deep/.el-input-number--small {
  line-height: 30px !important;
  width: 100%;
}

/*select样式-----------------------------------------------------------------------------------------------------*/
/deep/.el-select {
  width: 100%;
}

/*date样式-----------------------------------------------------------------------------------------------------*/
/deep/.el-date-editor--datetimerange.el-input,
/deep/.el-date-editor--datetimerange.el-input__inner {
  width: 100%;
}

/deep/.el-date-editor.el-input,
/deep/.el-date-editor.el-input__inner {
  width: 100%;
}

/*container样式-----------------------------------------------------------------------------------------------------*/
/deep/.el-main {
  display: block;
  flex: 1;
  flex-basis: auto;
  overflow: auto;
  box-sizing: border-box;
  padding: 0px 12px;
}

/deep/.el-footer {
  box-sizing: border-box;
  flex-shrink: 0;
  border-top: 1px solid #e8e8e8;
  width: calc(100% + 24px);
  margin-top: 5px;
  margin-left: -12px;
  padding: 12px 0px 0px 0px;
  height: 50px !important;
  text-align: center;
}

/*card样式-----------------------------------------------------------------------------------------------------*/
/deep/.el-card {
  border-radius: 2px;
  border: 1px solid #e6ebf5;
  background-color: #fff;
  overflow: hidden;
  color: #303133;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  // margin-top: 0.8rem;
  // margin: 8px 0 12px 0px;
}

/deep/.el-card__body {
  padding: 12px;
}

/deep/.el-card__header {
  padding: 8px 16px;
}

/*dialog样式-----------------------------------------------------------------------------------------------------*/
/deep/.el-dialog {
  width: 60%;
  box-shadow: 0 0 25px #5592f3;
}

/deep/.el-dialog__header {
  padding: 8px 16px;
  color: rgba(0, 0, 0, 0.65);
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  border-radius: 4px 4px 0 0;
}

/deep/.el-dialog__title {
  margin: 0;
  color: #4f556e; // #4f556e; rgba(0, 0, 0, .85)
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  word-wrap: break-word;
}

/deep/.el-dialog__headerbtn {
  position: absolute;
  top: 10px;
  right: 15px;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 18px;
}

/deep/.el-dialog__body {
  word-break: break-all;
  padding: 0 12px 12px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}


/*treeselect样式-----------------------------------------------------------------------------------------------------*/
/deep/.vue-treeselect__control {
  padding-left: 5px;
  padding-right: 5px;
  display: table;
  table-layout: fixed;
  width: 100%;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  transition-duration: 200ms;
  transition-property: border-color, box-shadow, width, height, background-color, opacity;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/deep/.vue-treeselect--open.vue-treeselect--open-below .vue-treeselect__control {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

/deep/.vue-treeselect__placeholder,
/deep/.vue-treeselect__single-value {
  line-height: 30px !important;
  height: 30px !important;
  padding-left: 10px !important;
}

/deep/.vue-treeselect__single-value {
  color: #606266;
}

/deep/.vue-treeselect__menu {
  cursor: default;
  padding-top: 5px;
  padding-bottom: 20px;
  display: block;
  position: absolute;
  overflow-x: hidden;
  overflow-y: auto;
  width: auto;
  border: 0px solid #cfcfcf;
  background: #fff;
  line-height: 28px;
  -webkit-overflow-scrolling: touch; // box-shadow: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px 0 rgb(0 0 0 / 8%), 0 9px 28px 8px rgb(0 0 0 / 5%);
  border-radius: 2px;
  margin-top: 4px;
  margin-bottom: 5px;
  max-height: 400px !important;
  box-shadow: 0 3px 6px -4px #0000001f, 0 6px 16px 0 #00000014, 0 9px 28px 8px #0000000d;
}

/deep/.vue-treeselect__option-arrow {
  font-weight: 700;
  color: rgba(0, 0, 0, 0.65);
}

/deep/.vue-treeselect__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: table-cell;
  padding-left: 5px;
  max-width: 100%;
  vertical-align: middle;
  cursor: inherit;
  font-size: 15px;
  font-weight: normal;
  color: #606266;
}

/deep/.vue-treeselect--has-value .vue-treeselect__input {
  line-height: inherit;
  vertical-align: top;
  height: 32px;
}

/deep/.vue-treeselect--focused.vue-treeselect--searchable .vue-treeselect__single-value {
  color: #bdbdbd !important;
}

/deep/.el-tree-node__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 26px;
  cursor: pointer;
  margin: 2px 0;
}

/deep/.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
  background-color: #77b8fd;
  // color: #409eff;
  color: white
}

/deep/.el-tree-node__label {
  font-size: 15px;
}
